import request from '@/utils/request'

// 验证手机号码是否被注册过
export function docheckphone (params) {
  return request.post('/user/docheckphone', params)
}
// 发送短信验证码
export function dosendmsgcode (params) {
  return request.post('/user/dosendmsgcode', params)
}
// 验证手机验证码
export function docheckcode (params) {
  return request.post('/user/docheckcode', params)
}
// 注册
export function dofinishregister (params) {
  return request.post('/user/dofinishregister', params)
}

// 用户名/手机号/邮箱登录
export function loginFn (params) {
  return request.post('/user/login', params)
}
